package com.dotflat.staffExtend.repository;

import com.dotflat.staffExtend.domain.StaffExtendInfoRank;
import com.dotflat.staffExtend.domain.StaffExtendInfoRankLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface StaffExtendInfoRankRepository extends JpaRepository<StaffExtendInfoRank, String>, JpaSpecificationExecutor<StaffExtendInfoRank> {

    StaffExtendInfoRank findFirstByAreaIdAndRankCircleIdAndStaffId(String areaId, String circleId, String staffId);

}
